package com.dfrz.entry;

import com.alibaba.fastjson.annotation.JSONField;


public class Result {
    @JSONField(ordinal = 1)
    private int code =0;// 响应状态 默认0   0 成功 -1 失败
    @JSONField(ordinal = 2)
    private String message="成功";// 响应描述
    @JSONField(ordinal = 3)
    private Object data; //响应数据

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public Object getData() {
        return data;
    }

    public void setData(Object data) {
        this.data = data;
    }
}
